package com.gistone.commis.mapper;

import com.gistone.commis.entity.PropertyType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface PropertyTypeMapper {

    @Select("SELECT * FROM tb_property_type")
    List<PropertyType> findPropertyTypes();
    int deleteByPrimaryKey(Integer typeId);

    int insert(PropertyType record);

    int insertSelective(PropertyType record);

    PropertyType selectByPrimaryKey(Integer typeId);

    int updateByPrimaryKeySelective(PropertyType record);

    int updateByPrimaryKey(PropertyType record);

    List<PropertyType> selectSelective(PropertyType propertyType);
}